Release 10.1A: OpenEdge Development:
Progress 4GL Reference
LOG function
Calculates the logarithm of an expression using a specified base.
Syntax
expressionA decimal expression that you want the logarithm of.
baseA numeric expression that is the base you want to use. If you do not specify a base, LOG returns the natural logarithm, base (e). The
Examplebasemust be greater than 1.This procedure prompts the user for a base and a number, and then displays the log of the number. The VALIDATE option on the UPDATE statement ensures that the user enters a base value greater than 1 and a number greater than 0.
Notes
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |